package com.crm.common.examine.entity.PO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.crm.common.ka.core.feign.admin.entity.SimpleDept;
import com.crm.common.ka.core.feign.admin.entity.SimpleRole;
import com.crm.common.ka.core.feign.admin.entity.SimpleUser;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
@TableName("bill_examine_cc")
public class ExamineCC {
    //需要在实体类的主键属性上添加此句
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 流程id
     */
    private Integer examineId;

    /**
     * 角色
     */
    private String roleId;

    /**
     * 部门
     */
    private String deptId;

    /**
     * 用户
     */
    private String userId;

    /**
     * 数据字段
     */
    private String fieldStr;

    private Date createTime;

    private Date updateTime;

    private Integer createUserId;

    private Integer updateUserId;


    /**
     * 0角色1部门2人员3数据权限
     */
    private Integer type;



    @TableField(exist = false)
    List<SimpleDept> simpleDeptList;



    @TableField(exist = false)
    List<SimpleRole> simpleRoleList;


    @TableField(exist = false)
    List<SimpleUser> simpleUserList;


    @TableField(exist = false)
    public List<String> simpleFieldList;

    private Integer flowId;



}
